import { PAGE } from '@/common/const'

export const showMain = function () {
  if (typeof location !== 'undefined') {
    location.replace(PAGE.MAIN)
  }
}

export const showLogin = function () {
  if (typeof location !== 'undefined') {
    location.replace(PAGE.LOGIN)
  }
}
